package com.eenie.onecloud.configs;

public class AccountConfig {
    private static AccountConfig instance;
    private String header = "";

    public static AccountConfig getInstance() {
        if (instance == null) {
            synchronized (AccountConfig.class) {
                if (instance == null) {
                    instance = new AccountConfig();
                }
            }
        }
        return instance;
    }


    public String getHeader() {
        return header;
    }

    public void setHeader(String sessionid,String userid) {
        this.header = String.format("sessionid=%s;  userid=%s", sessionid, userid);
    }
}
